<?php
return CMap::mergeArray(
    require(dirname(__FILE__).'/main.php'),
    array(
        'components' => array(
        
            'urlManager' => array(
                'urlFormat'=>'path',
                'showScriptName' => false,
                'caseSensitive'=>false,
                'rules' => array(
                     // '<controller:\w+>/<id:\d+>'=>'<controller>/view',
                     // '<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>',
                     // '<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
                    'trang-chu' =>array('site/index','caseSensitive' => false),
                    'hoi-dap-va-lien-he' =>array('supportticket/index','caseSensitive' => false),
                    'dang-tin' => array('news/create', 'caseSensitive' => false),
                    'dang-nhap' =>array('site/login','caseSensitive' => false),
                    'dang-ky' =>array('user/create','caseSensitive' => false),
                    // 'cap-nhat/<id:\d+>' =>array('user/update','caseSensitive' => false),
                    'dang-xuat' => array('site/logout','caseSensitive' => false),
                    'quang-cao' => array('advertisement/index', 'caseSensitive' => false),
                    'su-kien' => array('event/index','caseSensitive' =>false),
                    'su-kien/<id:\d+>' => array('event/view','caseSensitive' =>false),
                    'thong-tin-chuyen-di' => array('news/index','caseSensitive' => false),
                    'chinh-sua-thong-tin' => array('user/index','caseSensitive' => false),
                    ),
                )
            ),
        )
    );
?>